package com.indusfo.spc.pojo;

import com.indusfo.spc.vo.AssociTionTreeNode;
import com.indusfo.spc.vo.SimpleTreeNode;

import java.util.List;

public class RoleVO extends Role {

    // 菜单权限树
    List<SimpleTreeNode> menuTreeList;
    // 数据权限集合
    List<AssociTionTreeNode> associTionList;
    // 用户权限集合
    List<RoleUser> roleUserList;
    // 作业授权集合
    List<AssociTionTreeNode> workPermissionList;

    @Override
    public List<SimpleTreeNode> getMenuTreeList() {
        return menuTreeList;
    }

    @Override
    public void setMenuTreeList(List<SimpleTreeNode> menuTreeList) {
        this.menuTreeList = menuTreeList;
    }

    @Override
    public List<AssociTionTreeNode> getAssociTionList() {
        return associTionList;
    }

    @Override
    public void setAssociTionList(List<AssociTionTreeNode> associTionList) {
        this.associTionList = associTionList;
    }

    @Override
    public List<RoleUser> getRoleUserList() {
        return roleUserList;
    }

    @Override
    public void setRoleUserList(List<RoleUser> roleUserList) {
        this.roleUserList = roleUserList;
    }

    @Override
    public List<AssociTionTreeNode> getWorkPermissionList() {
        return workPermissionList;
    }

    @Override
    public void setWorkPermissionList(List<AssociTionTreeNode> workPermissionList) {
        this.workPermissionList = workPermissionList;
    }

    @Override
    public String toString() {
        return "RoleVO{" +
                "menuTreeList=" + menuTreeList +
                ", associTionList=" + associTionList +
                ", roleUserList=" + roleUserList +
                ", workPermissionList=" + workPermissionList +
                '}';
    }
}
